package com.chen.entity.vo;

import lombok.Getter;

@Getter // 提供获取属性值的getter方法
public enum ResultCodeEnum {
    SUCCESS(200, "操作成功"),
    Data_Error(203, "数据异常");

    private Integer code;      // 业务状态码
    private String message;    // 响应消息

    private ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
